package com.bristua.barcode.supplier.dao;

import com.bristua.barcode.supplier.model.TQrCode;
import com.bristua.barcode.supplier.model.condition.TQrCodeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TQrCodeMapper {
    long countByExample(TQrCodeExample example);

    int deleteByExample(TQrCodeExample example);

    int deleteByPrimaryKey(String qrCodeId);

    int insert(TQrCode record);

    int insertSelective(TQrCode record);

    List<TQrCode> selectByExample(TQrCodeExample example);

    TQrCode selectByPrimaryKey(String qrCodeId);

    int updateByExampleSelective(@Param("record") TQrCode record, @Param("example") TQrCodeExample example);

    int updateByExample(@Param("record") TQrCode record, @Param("example") TQrCodeExample example);

    int updateByPrimaryKeySelective(TQrCode record);

    int updateByPrimaryKey(TQrCode record);

    int batchUpdate(@Param("recordList") List<TQrCode> recordList);

    int batchInsert(@Param("recordList") List<TQrCode> recordList);

    int batchDelete(@Param("ids") String[] ids);
}